package com.qianya.model.pojo.login.qo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.qianya.model.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * <p>
 * 角色
 * </p>
 *
 * @author lhl
 * @since 2020-07-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="LoginRoleInsertQO对象", description="角色")
public class LoginRoleInsertQO extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "RO_ID", type = IdType.UUID)
    private String roId;

    @ApiModelProperty(value = "角色名称")
    @TableField("RO_NAME")
    private String roName;

    @ApiModelProperty(value = "描述")
    @TableField("RO_DESC")
    private String roDesc;


    @ApiModelProperty(value = "权限ID")
    private  String  permissionId;



}
